package com.ruoyi.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 代付申请对象 payment_apply
 * 
 * @author ruoyi
 * @date 2021-04-06
 */
public class PaymentApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水号 */
    @Excel(name = "流水号")
    private String sequenceNo;

    /** 商户号 */
    @Excel(name = "商户号")
    private String merchCd;

    /** 子商户 */
    private String subMerchCd;

    /** 申请业务类型 */
    @Excel(name = "申请业务类型")
    private String type;

    /** 申请代付金额 */
    @Excel(name = "申请代付金额")
    private BigDecimal amt;

    /** 代付模式 */
    @Excel(name = "代付模式")
    private String mode;

    /** 收款方账号 */
    @Excel(name = "收款方账号")
    private String payeeAcct;

    /** 代付文件编号 */
    @Excel(name = "代付文件编号")
    private String fileId;

    /** 代付文件 */
    @Excel(name = "代付文件")
    private String fileName;

    /** 收款方户名 */
    @Excel(name = "收款方户名")
    private String payeeNm;

    /** 收款方户名 */
    @Excel(name = "收款方户名")
    private String payeeBranchCd;

    /** 代付笔数 */
    @Excel(name = "代付笔数")
    private Integer cnt;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private String payeeType;

    /** 附加信息 */
    @Excel(name = "附加信息")
    private String addInfo;

    /** 收款方行名 */
    @Excel(name = "收款方行名")
    private String payeeBranchNm;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 消息 */
    @Excel(name = "消息")
    private String msg;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    public void setSequenceNo(String sequenceNo) 
    {
        this.sequenceNo = sequenceNo;
    }

    public String getSequenceNo() 
    {
        return sequenceNo;
    }
    public void setMerchCd(String merchCd) 
    {
        this.merchCd = merchCd;
    }

    public String getMerchCd() 
    {
        return merchCd;
    }
    public void setSubMerchCd(String subMerchCd) 
    {
        this.subMerchCd = subMerchCd;
    }

    public String getSubMerchCd() 
    {
        return subMerchCd;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setAmt(BigDecimal amt)
    {
        this.amt = amt;
    }

    public BigDecimal getAmt()
    {
        return amt;
    }
    public void setMode(String mode) 
    {
        this.mode = mode;
    }

    public String getMode() 
    {
        return mode;
    }
    public void setPayeeAcct(String payeeAcct) 
    {
        this.payeeAcct = payeeAcct;
    }

    public String getPayeeAcct() 
    {
        return payeeAcct;
    }
    public void setFileId(String fileId) 
    {
        this.fileId = fileId;
    }

    public String getFileId() 
    {
        return fileId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setPayeeNm(String payeeNm) 
    {
        this.payeeNm = payeeNm;
    }

    public String getPayeeNm() 
    {
        return payeeNm;
    }
    public void setPayeeBranchCd(String payeeBranchCd) 
    {
        this.payeeBranchCd = payeeBranchCd;
    }

    public String getPayeeBranchCd() 
    {
        return payeeBranchCd;
    }
    public void setCnt(Integer cnt) 
    {
        this.cnt = cnt;
    }

    public Integer getCnt() 
    {
        return cnt;
    }
    public void setPayeeType(String payeeType) 
    {
        this.payeeType = payeeType;
    }

    public String getPayeeType() 
    {
        return payeeType;
    }
    public void setAddInfo(String addInfo) 
    {
        this.addInfo = addInfo;
    }

    public String getAddInfo() 
    {
        return addInfo;
    }
    public void setPayeeBranchNm(String payeeBranchNm) 
    {
        this.payeeBranchNm = payeeBranchNm;
    }

    public String getPayeeBranchNm() 
    {
        return payeeBranchNm;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sequenceNo", getSequenceNo())
            .append("merchCd", getMerchCd())
            .append("subMerchCd", getSubMerchCd())
            .append("type", getType())
            .append("amt", getAmt())
            .append("mode", getMode())
            .append("payeeAcct", getPayeeAcct())
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("payeeNm", getPayeeNm())
            .append("payeeBranchCd", getPayeeBranchCd())
            .append("cnt", getCnt())
            .append("payeeType", getPayeeType())
            .append("addInfo", getAddInfo())
            .append("payeeBranchNm", getPayeeBranchNm())
            .append("status", getStatus())
            .append("msg", getMsg())
            .append("createTime", getCreateTime())
            .toString();
    }
}
